<template>
  <div class="chunk">
    <div>
      {{ title }}
    </div>
    <div class="right" @click="handler">
      {{ desc }}<span class="iconfont iconjiantou1"></span>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title", "desc"],
  methods: {
    handler(e) {
      this.$emit("click", e);
    },
  },
};
</script>

<style lang="less" scoped>
.chunk {
  display: flex;
  justify-content: space-between;
  align-content: center;
  font-size: 14px;
  border-bottom: 1px solid #999;
  padding: 15px;
  .right {
    font-size: 12px;
    color: #ccc;
    .iconfont {
      margin-left: 5px;
      font-size: 12px;
    }
  }
}
</style>